package org.deltaset.meta.internal.testvisit;

import java.util.Date;
import java.util.List;
import org.deltaset.meta.annotation.DsFirstResult;
import org.deltaset.meta.annotation.DsLabel;
import org.deltaset.meta.annotation.DsMaxResult;

/**
 *
 * @author dmakariev
 */
public interface AnimalRepositoryAddon {

    List<Animal> findByName(@DsFirstResult Integer firstResult, @DsMaxResult Integer maxResult, String name);

    List<Animal> findAllList();

    Animal new12Records(@DsLabel("new records") Integer numberOfNewRecords);
    
    void nAnimalsForPerson(@DsLabel("number of animals")Integer numberOfNewRecords, @DsLabel("Choose owner")Person person);

    void doSomething();

    String action(String name, Person person, Integer age, Date date, NameTitle nameTitle);

    String action(ActionParameter actionParameter);
}
